//
//  SandBoxHandler.h
//  沙盒
//
//  Created by dllo on 16/3/29.
//  Copyright © 2016年 付冬梅. All rights reserved.
//

#import <Foundation/Foundation.h>

typedef enum : NSUInteger {
    Documents = 0,
    Library,
    Caches,
    
    
} sandBoxType;

@interface SandBoxHandler : NSObject

//@property (nonatomic, assign) NSInteger SandBoxType;

+ (NSString *)saveInSanBoxHandler:(sandBoxType)sandBoxDirctoryType withFileName:(NSString *)fileName;
//+ (NSString *)saveInSanBoxHandler:()dirctory withFileName:(NSString *)filename;
/** 初始化 */
+ (instancetype)sanBoxHandler;

+ (NSString *)pathOfDocuments;

+ (NSString *)saveInDocumentWithfileName:(NSString *)fileName;

/** 获取Document路径 */
- (NSString *)pathOfDocuments;

/** 获取到APP的沙盒路径 */
- (NSString *)pathOfSandBox;

- (NSString *)pathOfLibrary;

- (NSString *)pathOfCaches;

- (NSString *)pathOfTemp;

- (NSString *)pathOfPreferences;

/** 获取到APP包路径 */
- (NSString *)pathOfAppBundle;

@end
